﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;

namespace PhoneUI.Com
{
    /// <summary>
    /// 获取物料(产品)类别
    /// </summary>
    public sealed class GetMtrlTypesRequest : ILJTokenRequest<GetMtrlTypesResposne>
    {
        public string token { get; set; }
        /// <summary>
        /// 用于更新类别
        /// </summary>
        public int maxId { get; set; }

        public string GetApiName()
        {
            return "GetMtrlTypes";
        }
    }

    /// <summary>
    /// 获取物料(产品)类别
    /// </summary>
    public sealed class GetMtrlTypesResposne : LJResponse
    {
        public List<MtrlType> types { get; set; }
    }
}